@echo off
cd output
del /F /S /Q *.sr*
cd ../java
del /F /S /Q *.srd
cd ../java2
del /F /S /Q *.srd
cd ../java3
del /F /S /Q *.srd
cd ../java4
del /F /S /Q *.srd
TIMEOUT /T 1

cd ../py
python createWm.py
python modifyJavaConfig.py
TIMEOUT /T 1

cd ../java4
Java -jar createSrd.jar
copy *.srd ..\output

cd ../java3
Java -jar createSrd.jar
copy *.srd ..\output

cd ../java2
Java -jar createSrd.jar
copy *.srd ..\output

cd ../java
Java -jar createSrd.jar
copy *.srd ..\output
TIMEOUT /T 1

cd ../py
python fixDpw.py
python fixDdt.py